<template>
  <div>
    <Maherder></Maherder>
  </div>
</template>
<script>
  import Maherder from "@/components/asiders.vue";
//引入侧导航组件
export default {
  data() {
    return {
      asideHeight: "",
      collapse: false,
      // items: [{
      //   name: "管理员审计",
      //   url: "loginLog",
      //   icon: "el-icon-menu",
      //   children: [
      //     { name: "登录日志", url: "/loginLog", icon: "el-icon-document", children: [] },
      //     { name: "操作日志", url: "/operationLog", icon: "el-icon-document", children: [] },
      //     { name: "管理员日志", url: "/administratorsLog", icon: "el-icon-document", children: [] },
      //     { name: "策略修改日志", url: "/modificationLog", icon: "el-icon-document", children: [] },
      //   ]
      // },
      // {
      //   name: "客户端审计",
      //   url: "",
      //   icon: "el-icon-menu",
      //   children: [
      //     { name: "客户端登录日志", url: "/clientloginLog", icon: "el-icon-document", children: [] },
      //     { name: "系统操作日志", url: "/systemoperationLog", icon: "el-icon-document", children: [] },
      //     { name: "客户端行为日志", url: "/clientBehavior", icon: "el-icon-document", children: [] },
      //     { name: "客户端运维日志", url: "/maintenanceLog", icon: "el-icon-document", children: [] },
      //     { name: "外设端口设置日志", url: "/peripheralPort", icon: "el-icon-document", children: [] },
      //   ]
      // }, {
      //   name: "运行安全审计日志",
      //   url: "",
      //   icon: "el-icon-menu",
      //   children: [
      //     { name: "运行资源日志", url: "/RunResourceLog", icon: "el-icon-document", children: [] },
      //     { name: "系统服务日志", url: "/SystemServiceLog", icon: "el-icon-document", children: [] },
      //     { name: "网络配置日志", url: "/NetworkConfigurationLog", icon: "el-icon-document", children: [] },
      //     { name: "主机流量日志", url: "/HostTrafficLog", icon: "el-icon-document", children: [] },
      //     { name: "上网行为日志", url: "/OnlineBehaviorLog", icon: "el-icon-document", children: [] },
      //     { name: "进程行为日志", url: "/ProcessBehaviorLog", icon: "el-icon-document", children: [] },
      //     { name: "主机端口日志", url: "/HostPortLog", icon: "el-icon-document", children: [] },
      //     { name: "主机连接日志", url: "/HostConnectionLog", icon: "el-icon-document", children: [] },
      //     { name: "主机开机日志", url: "/hoststartsupLog", icon: "el-icon-document", children: [] },
      //   ]
      // },
      // {
      //   name: "边界安全审计",
      //   url: "",
      //   icon: "el-icon-menu",
      //   children: [
      //     { name: "违规外联日志", url: "/ViolationLog",icon: "el-icon-document", children: [] },
      //   ]
      // },
      // {
      //   name: "系统安全审计",
      //   url: "",
      //   icon: "el-icon-menu",
      //   children: [
      //     { name: "资源查询日志", url: "/resourceQuery", icon: "el-icon-document", children: [] },
      //     { name: "端口查询日志", url: "/portqueryLog", icon: "el-icon-document", children: [] },
      //     { name: "进程查询日志", url: "/processqueryLog", icon: "el-icon-document", children: [] },
      //     { name: "软件查询日志", url: "/softwarequeryLog", icon: "el-icon-document", children: [] },
      //     { name: "硬件查询日志", url: "/hardwarequeryLog", icon: "el-icon-document", children: [] },
      //     { name: "账户查询日志", url: "/accountqueryLog", icon: "el-icon-document", children: [] },
      //     { name: "系统查询日志", url: "/systemqueryLog", icon: "el-icon-document", children: [] },
      //     { name: "浏览器查询日志", url: "/browserqueryLog", icon: "el-icon-document", children: [] },
      //     { name: "网络浏览器查询日志", url: "/webBrowserlog", icon: "el-icon-document", children: [] },
      //     { name: "系统登录日志", url: "/systemloginLog", icon: "el-icon-document", children: [] },
      //     { name: "软件变更日志", url: "/softwareChangelog", icon: "el-icon-document", children: [] },
      //     { name: "硬件变更日志", url: "/hardwareChangelog", icon: "el-icon-document", children: [] },
      //     { name: "系统账户日志", url: "/systemAccountlog", icon: "el-icon-document", children: [] },
      //     { name: "端口扫描日志", url: "/portScanLog", icon: "el-icon-document", children: [] },
      //     { name: "多操作系统识别日志", url: "/systemIdentification", icon: "el-icon-document", children: [] },
      //     { name: "进程状态日志", url: "/processStatus", icon: "el-icon-document", children: [] },
      //   ]
      // },
      // {
      //   name: "数据安全审计",
      //   url: "",
      //   icon: "el-icon-menu",
      //   children: [
      //     { name: "打印行为日志", url: "/PrintBehaviorLog",icon: "el-icon-document", children: [] },
      //     { name: "文件目录日志", url: "/FileDirectoryLog", icon: "el-icon-document",children: [] },
      //     { name: "共享监控日志", url: "/SharedmonitoringLog",icon: "el-icon-document", children: [] },
      //     { name: "光盘刻录日志", url: "/DiscburningLog", icon: "el-icon-document",children: [] },
      //   ]
      // },
      // {
      //   name: "移动存储审计",
      //   url: "",
      //   icon: "el-icon-menu",
      //   children: [
      //     { name: "红盘访问日志", url: "/ReddiskAccessLog", icon: "el-icon-document",children: [] },
      //   ]
      // },
      // {
      //   name: "外设端口审计",
      //   url: "",
      //   icon: "el-icon-menu",
      //   children: [
      //     { name: "违规操作日志", url: "/ViolationLog", icon: "el-icon-document",children: [] },
      //   ]
      // },
      // ]
    }
  },

  components: {
    //注册侧导航组件
    Maherder
  },
  computed: {
    onRoutes() {
      console.log(1);
      //当前激活菜单的 index
      return this.$route.path.replace('/', '');
    }
  },
  mounted: {
    setTableHeight() {
      let clientHeiht =
        window.innerHeight || document.documentElement.clientHeight;
      this.asideHeight = clientHeiht - 10 + "px";
      console.log(this.asideHeight)
    },
  }
}
</script>
<style scoped>
</style>